package com.icsss.test1.servicefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="test2", fallback = Hello1ServiceFeignCallback.class)
public interface Hello1ServiceFeign {
    @GetMapping("echo/{string}")
    public String hell1(@PathVariable(value = "string") String string);
}
